{extend name="layout"/}

{block name="breadcrumb"}
<h2>{$title}详情</h2>
<ol class="breadcrumb">
    <li><a href="{:url('index/index')}">首页</a></li>
    <li><a href="{$url}">{$title}列表</a></li>
    <li><strong>{$title}详情</strong></li>
</ol>
{/block}

{block name="main"}
<div class="ibox float-e-margins">
    <div class="ibox-title">
        <h5>{$title}详情</h5>
    </div>
    <div class="ibox-content">
        <div class="table-responsive">
            <form method="post" class="form-horizontal" onsubmit="return toSubmit('{:url("remark")}')">

            <table class="table table-striped table-bordered detail-view">
                <tbody>
                <tr>
                    <th width="25%">订单ID</th>
                    <td>{$model.id}</td>
                </tr>
                <tr>
                    <th>订单号</th>
                    <td>{$model.order_sn}</td>
                </tr>
                <tr>
                    <th>用户ID</th>
                    <td>{$model.oauth_id}</td>
                </tr>
                <tr>
                    <th>用户昵称</th>
                    <td>{$model.oauth_nickname}</td>
                </tr>
                <tr>
                    <th>订单类型</th>
                    <td>{$model.type}</td>
                </tr>
                <tr>
                    <th>购买语种</th>
                    <td>{$model.lang_id}</td>
                </tr>
                <tr>
                    <th>初级班</th>
                    <td>{$model.class_1}</td>
                </tr>
                <tr>
                    <th>中级班</th>
                    <td>{$model.class_2}</td>
                </tr>
                <tr>
                    <th>高级班</th>
                    <td>{$model.class_3}</td>
                </tr>
                <tr>
                    <th>教导主任</th>
                    <td>{$model.customer_id}</td>
                </tr>
                <tr>
                    <th>积分抵扣</th>
                    <td>{$model.integral}</td>
                </tr>
                <tr>
                    <th>优惠券名称</th>
                    <td>{$model.coupon_name}</td>
                </tr>
                <tr>
                    <th>优惠券抵扣</th>
                    <td>{$model.coupon}</td>
                </tr>
                <tr>
                    <th>支付金额</th>
                    <td>{$model.pay_money}</td>
                </tr>
                <tr>
                    <th>支付方式</th>
                    <td>{$model.pay_type}</td>
                </tr>
                <tr>
                    <th>上级用户ID</th>
                    <td>{$model.share_uid}</td>
                </tr>
                <tr>
                    <th>上级用户昵称</th>
                    <td>{$model.share_nickname}</td>
                </tr>
                <tr>
                    <th>上级用户佣金</th>
                    <td>{$model.share_commission}</td>
                </tr>
                <tr>
                    <th>创建时间</th>
                    <td>{$model.create_time}</td>
                </tr>
                <tr>
                    <th>修改时间</th>
                    <td>{$model.update_time}</td>
                </tr>

                <tr>
                    <th>订单备注</th>
                    <td>
                        <textarea name="remark" class="form-control" rows="5">{$model.remark}</textarea>
                    </td>
                </tr>

                <tr>
                    <th></th>
                    <td>
                        <input type="hidden" name="id" value="{$model.id}">
                        <button class="btn btn-primary" type="submit">提交</button>
                        <button class="btn btn-white" type="button"><a href="{$url}">取消</a></button>
                    </td>
                </tr>

                </tbody>
            </table>

            </form>
        </div>
    </div>
</div>


{/block}